<template>
  <div class="streamer">
    <div class="streamer-left"></div>
    <div class="streamer-right"></div>
    <div class="streamer-body">
      <slot></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Streamer'
}
</script>

<style lang="less" scoped>
.streamer {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  .streamer-left {
    left: -12px;
    top: 50%;
    width: 12px;
    height: 75%;
    transform: translateY(-50%);
    overflow: hidden;
    position: absolute;
    background-color: rgb(91, 141, 218);
  }
  .streamer-right {
    top: 50%;
    width: 12px;
    height: 75%;
    right: -12px;
    transform: translateY(-50%);
    overflow: hidden;
    position: absolute;
    background-color: rgb(91, 141, 218);
  }
  .streamer-body {
    padding: 30px;
    background-color: #1c2b56;
    color: #698acd;
    line-height: 28px;
    box-shadow: 0 0 35px rgb(0 204 255 / 20%);
    min-height: 150px;
  }
}
</style>